<extend name="Base/common"/>
<block name="style">
    <style type="text/css">
        .weui-cell_access .weui-cell__ftnone:after{border-style:none;}
        .tab-pane{display:none;}
        .in { display: block;}
    </style>
</block>
<block name="body">

<div class="wraper" >

    <div class="user clearfix" style="margin-top:-15%">
        <div class="user-con">
            <div class="user-tx clearfix"><i class="app-iconfont">&#xe601;</i><span>{$info.nickname}<em>
                <if condition="$realname[status] eq 2">
                    (已实名)

                <elseif condition="$realname[status] eq 3"/>
                (实名不通过)

                <elseif condition="$realname[status] eq 0"/>
                (未实名)

                <else/>
                (实名审核中)
                </if> 
            </em></span></div>

            <div class="user-sy"><b>{$info['quota']}</b><span>当前额度</span></div>

            <ul class="user-kx clearfix"> 
                <li>已用额度：<b>{$info['used_money']}</b></li>
                <li>可用余额：<b>{$info[quota]-$info['used_money']}</b></li>
            </ul>
        </div>
        <ul class="user-ull clearfix">
            <li><a href="{:U('Capital/loan')}"><i class="app-iconfont">&#xe602;</i> <span>我要借款</span></a></li>
            <li><a href="{:U('Capital/myloan')}"><i class="app-iconfont">&#xe612;</i> <span>我要还款</span></a></li>
        </ul>
    </div>
    <div class="content mg-t-3">
        <h3 class="info-tit"><i class="app-iconfont">&#xe6bf;</i>个人信息</h3>
        <div class="login-register clearfix">
            <ul class="register-kk">
            <li><em>手机号码</em><span class="list-txt-r">{$info.mobile}</span></li>
            <li><em>职业类型</em>{:C('MEMBER_CAREER_TYPE.'.$info[career_type])}</li>
            <li><em>{:C('MEMBER_RELATI_ONSHIP.'.$info[relati_onship])}电话</em>{$info.relati_number}</li>
            <li><em>{:C('MEMBER_SOCIAL_RELATIONS.'.$info[social_relations])}电话</em>{$info.social_number}</li>
            </ul>
            
        </div>
        <input type="button" name="" id="" value="修改个人资料" class="login-btn"  />
    </div>



</div>

</block>



<block name="script">
    <script >
       
        $('.login-btn').click(function(){
            location.href="{:U('Member/userinfo')}";
        });


    </script>

</block>